#stu_data = [{"name":"小白"},{"name":"小猪"},{"name":"同学"},{"name":"小狗"},{"name":"主打歌"}]

#print(stu_data)

#getStudent = lambda stu_name: [i for i in stu_data if stu_name in i["name"]]
#print(getStudent("小"))

import hashlib

strs = '123456';

print(strs)

m=hashlib.md5()

b=strs.encode(encoding="utf8")

m.update(b)

strs_md5 = m.hexdigest()

print(strs_md5)
new_str = hashlib.md5(b'123456').hexdigest()
print(new_str)

